<{include file="section/admin/header2.tpl"}>
<div class="box02_Tab">
	<div class="table01">
		<table cellpadding="0" cellspacing="0" width="100%" border="0" id="table">
		    <tr class="th">
			    <th width="50%"><div>标题</div></th>
			    <th width="10%"><div>状态</div></th>
				<th width="10%"><div>来源</div></th>
				<th width="15%"><div>创建时间</div></th>
				<th width="15%"><div>操作</div></th>
		    </tr>
			
		<{foreach from=$list key=key item=item}>
			<tr>
				<td class="tl" style="padding-left:5px;">
				<{if $item.url != ''}>				
					<a href="<{$item.url}>" target="_blank"><{$item.title}></a>
				<{else}>
					<{$item.title}>
				<{/if}>
				</td>
				<td><{$item.t_status_name}></td>
				<td><{$item.site}></td>
				<td><{php}>echo date('Y-m-d H:i:s',$this->_tpl_vars['item']['created']);<{/php}></td>
				<td>					
				<{if $item.t_status == 'import'}>
					<a href="<{php}> echo 'http://'.site::domain('member').'/cuxiao/info/'.$this->_tpl_vars['item']['cuxiao_id'];<{/php}>" target="_blank">查看</a>&nbsp;&nbsp;
				<{else}>
					<a href="/spider/edit/<{$item.id}>" target="_blank">编辑</a>&nbsp;&nbsp;
				<{/if}>
				
				<{if $item.t_status == 'edit'}>
					<a href="javascript:void(0);" action-type="import" action-data="id=<{$item.id}>">导入</a>&nbsp;&nbsp;
				<{/if}>
				</td>
			</tr>
		<{/foreach}>
	    </table>
	</div>
	<div class="box02_lab clear">
		共计：<{$total}> &nbsp; <{$pagination}>
	</div>
</div>
<{include file="admin/spider/include/import.tpl"}>
<{include file="section/admin/footer2.tpl"}>
